xen/arm: vtimer: Introduce vtimer_emulate_sysreg{32, 64}
authorJulien Grall <julien.grall@citrix.com>
Fri, 11 Dec 2015 15:28:22 +0000 (15:28 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 5 Jan 2016 11:49:40 +0000 (11:49 +0000)
commitce0fac22e7f367ba72ebd762331f8c9bdf1e2519
tree81ccbdbc61b66b865f031be2fdf3e70046da404c
parent1f38c6603c7160a2ee6b714293bf936f4f371b73
xen/arm: vtimer: Introduce vtimer_emulate_sysreg{32, 64}

Factorize the code to emulate a a 32-bit/64-bit sysreg in specific
helpers.

While this is currently not necessary, it will be helpful in a following
patch to handle properly some registers.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/vtimer.c